package com.example.enterprisemanager.mvvm.fragment.manager.ben;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobFile;

/**
 * 登记后的商品goods
 */
public class Goods extends BmobObject {
    private String name;              //物品名称
    private String company;           //所属公司
    private Integer price;            //单价
    private String type;               //资产类型
    private BmobFile avatar;          //物品图像描述
    private String department;      //所在科室
    private Boolean isRuin;       //是否报废

    public Goods() {
    }

    public Goods(String name, String company, Integer price, String type, BmobFile avatar, String department, Boolean isRuin) {
        this.name = name;
        this.company = company;
        this.price = price;
        this.type = type;
        this.avatar = avatar;
        this.department = department;
        this.isRuin = isRuin;
    }

    public Boolean getRuin() {
        return isRuin;
    }

    public void setRuin(Boolean ruin) {
        isRuin = ruin;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BmobFile getAvatar() {
        return avatar;
    }

    public void setAvatar(BmobFile avatar) {
        this.avatar = avatar;
    }
}
